//
//  SaTabBar.m
//  SaaS
//
//  Created by 迟国强 on 2018/12/24.
//  Copyright © 2018 SA. All rights reserved.
//

#import "SaTabBar.h"

@implementation SaTabBar

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [[UITabBarItem appearance]setTitleTextAttributes:@{NSFontAttributeName:[UIFont   systemFontOfSize:10],NSForegroundColorAttributeName:rgb(191, 191, 191)}   forState:UIControlStateNormal];
        
        [[UITabBarItem appearance]setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:10],NSForegroundColorAttributeName:COLOR_NOT_SELECT} forState:UIControlStateSelected];
        //        [self setBackgroundColor:[UIColor whiteColor]];
        [self setBarTintColor:UIColor.whiteColor];

    }
    return self;
}

@end
